﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Raffles.OA.Data
{
    /// <summary>
    /// 用户按钮权限
    /// </summary>
    public class UserAuthorizeVo
    {
        /// <summary>
        /// 是否管理员
        /// </summary>
        public bool IsSystem { get; set; }
        /// <summary>
        /// 菜单权限
        /// </summary>
        public List<ButtonAuthorize> ButtonAuthorizes { get; set; }=new List<ButtonAuthorize>();
    }

    /// <summary>
    /// 按钮权限Id
    /// </summary>
    public  class ButtonAuthorize
    {
        /// <summary>
        /// 菜单Id
        /// </summary>
        public int MenuButtonId { get; set; }
        /// <summary>
        /// 权限标识
        /// </summary>
        public string Authorize { get; set; }
    }
}
